﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.WorkFlow_TableNames;

namespace LeadThing.AbpZeroTemplate.WorkFlow_TableNames.Dtos
{
    /// <summary>
    /// 业务审批与流程关联表列表Dto
    /// </summary>
    [AutoMapFrom(typeof(WorkFlow_TableName))]
    public class WorkFlow_TableNameListDto : EntityDto<long>
    {
        /// <summary>
        /// 流程ID
        /// </summary>
        [DisplayName("流程ID")]
        public int FlowID { get; set; }
        /// <summary>
        /// 业务表
        /// </summary>
        [DisplayName("业务表")]
        public string TableName { get; set; }
        /// <summary>
        /// 映射的字段名
        /// </summary>
        [DisplayName("映射的字段名")]
        public string ColumnName { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        [DisplayName("是否可用")]
        public bool DelTag { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }
    }
}
